<div>
  <mat-form-field>
    <mat-select placeholder="证件类型" [(ngModel)]="identity.identityType" (change)="onIdTypeChange($event.value)">
      <mat-option *ngFor="let type of identityTypes" [value]="type.value">
        {{ type.label }}
      </mat-option>
    </mat-select>
    <mat-error></mat-error>
  </mat-form-field>
</div>
<div class="id-input">
  <mat-form-field class="full-width">
    <input matInput [(ngModel)]="identity.identityNo" (input)="onIdNoChange($event.target.value)"  placeholder="证件号码">
    <mat-error>证件号码输入有误</mat-error>
  </mat-form-field>
</div>
